package com.game.view;

import lombok.Data;

import javax.swing.*;
import java.awt.*;

/**
 * 游戏界面
 */
@Data
public class GamePanel extends JPanel {
    private JFrame frame ;

    @Override
    public void paint(Graphics g) {
        super.paint(g);
        g.setColor(Color.BLACK);
        g.fillRect(0,0,800,600);
    }
}
